package com.moonshineproject.events
{
	import com.moonshineproject.text.TextEditor;
	
	import flash.events.Event;
	import flash.filesystem.File;

	public class EditorPluginEvent extends Event
	{
		
		public static const EVENT_EDITOR_OPEN:String = "editorOpenEvent";
		public static const EVENT_EDITOR_CLOSE:String = "editorCloseEvent";

		public var newFile:Boolean;		
		public var file:File;
		public var fileExtension:String;
		public var editor:TextEditor;
		
		public function EditorPluginEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, false, true);
		}
		
	}
}